function strFormaat(format,obj){  
  const str = format.replace(/{\w+}/g, placeholder =>
    obj[placeholder.substring(1, placeholder.length - 1)].toString() || placeholder
  );
  return str
}
export default strFormaat